package com.ddl.dao;

import com.ddl.pojo.MoneyRecord;
import com.ddl.pojo.MoneyRecordExample;
import org.apache.ibatis.annotations.Param;

public interface MoneyRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MoneyRecord record);

    int insertSelective(MoneyRecord record);

    MoneyRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MoneyRecord record, @Param("example") MoneyRecordExample example);

    int updateByExample(@Param("record") MoneyRecord record, @Param("example") MoneyRecordExample example);

    int updateByPrimaryKeySelective(MoneyRecord record);

    int updateByPrimaryKey(MoneyRecord record);
}